#! /sur/bin/env python3
#! -*- encoding:utf-8 -*-

'开始开发web啦'
def application(environ, start_response):
    start_response('200 OK', [('Content-Type', 'text-html')])
    model = '<h1>hello %s!</h1>' % (environ['PATH_INFO'][1:] or 'web')
    return [model.encode("utf8")]